<html>
	<head>
		<title>{$sitetitle}</title>
		<script>var pagekind = "mycenter"</script>
	</head>
	<body>
		<div class="rightContent">
			<div class="regpage">
				<form action="trans.php?action=login" id="form" method="POST" >
					<div class="reginput">
						<div class="list">
								<div class="headvalue">
									<img id="headimg" src="source/head/{$user.headpic}"/>
									<span id="uphead" class="uphead">更换头像</sapn>
									<input id="imginput" type="file" name="file" />
								</div>
						</div>
						<div class="list">
							<div class="text">
								用户名
							</div>
							<span class="value">{$user.username}</span>
							
						</div>

						<div class="list">
							<div class="text">
								<span class="red">*</span>旧密码
							</div>
							<input type="password" id="oldpassword" name="oldpassword" placeholder="6-16位字母、数字或特殊符号"></input>
							<div id="warning2" class="warning">请输入6-16位字母、数字或特殊符号</div>
						</div>

						<div class="list">
							<div class="text">
								新密码
							</div>
							<input type="password" id="password" name="password" placeholder="6-16位字母、数字或特殊符号"></input>
							<div id="warning3" class="warning">请输入6-16位字母、数字或特殊符号</div>
						</div>

						<div class="list">
							<div class="text">
								重复新密码
							</div>
							<input type="password" id="passwordagin" name="passwordagin" placeholder="6-16位字母、数字或特殊符号"></input>
							<div id="warning4" class="warning">和上方输入密码不一致</div>
						</div>

						<div class="list">
							<div class="text">
								邮箱
							</div>
							<input type="text" id="mail" name="mail" placeholder="填写正确邮箱格式" {if $user.email}value="{$user.email}"{/if}></input>
							<div id="warning5" class="warning">请输入正确邮箱地址</div>
						</div>

						<div class="list">
							<div class="text">
								QQ
							</div>
							<input type="text" id="qq" name="qq" placeholder="请输入正确QQ格式" {if $user.qq}value="{$user.qq}"{/if}></input>
							<div id="warning6" class="warning">请输入正确QQ格式</div>
						</div>

						<div class="list">
							<div class="text">
								网站
							</div>
							<input type="text" id="website" name="website" placeholder="请输入正确网站地址(带http/https)" {if $user.website}value="{$user.website}"{/if}></input>
							<div id="warning7" class="warning">请输入正确网站地址(带http/https)<br>如:http://www.supmers.com/</div>
						</div>


						<div class="list"><input class="submit" id="submit" type="submit" value="修改资料"></input></div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>